package demo.java.springboot.property;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

@Component
@Data
@ConfigurationProperties(prefix="user")
public class User {
	private static Logger LOG = LogManager.getLogger(User.class);
	
	private String id;
	
	private String username;
	
	private String password;
}
